Skip to content

chore: bump go-flashduty to v0.5.7 for clearer gateway-timeout errors#94

Merged
ysyneu merged 1 commit into
mainfrom
chore/bump-go-flashduty-gateway-err
Jul 21, 2026
Merged

chore: bump go-flashduty to v0.5.7 for clearer gateway-timeout errors#94
ysyneu merged 1 commit into
mainfrom
chore/bump-go-flashduty-gateway-err

Conversation

@ysyneu

@ysyneu ysyneu commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

What this gets fduty users

The intermediary/gateway 504 message goes from a raw JSON-parse failure to something you can actually act on. Before:

Error: request failed: invalid character '<' looking for beginning of value

After:

Error: gateway/intermediary returned a non-JSON 5xx response (status 504): <html>...

This also folds in go-flashduty's monit-contract fixes (previously only reachable via a pseudo-version pinned to a side branch): tool-invoke responses correctly decode summary/params/truncated instead of silently dropping them, a target_kinds null-leak fix, and the new Licenses/SessionReplay services. go-flashduty's main and its feat/api-review-auto-fix branch had diverged since PR #27 — main only had the gateway-error fix, the branch only had the monit fixes — so go-flashduty#33 reunified them first. This PR picks up the result as a single proper tagged release (v0.5.7) instead of continuing on an untagged pseudo-version.

Change

go.mod/go.sum only:

-	github.com/flashcatcloud/go-flashduty v0.5.6-0.20260720103723-4d5816a3eb33
+	github.com/flashcatcloud/go-flashduty v0.5.7

Verification

  • go build ./... — clean
  • go test ./... — all packages pass (cmd/flashduty, internal/cli, internal/cmd/cligen, internal/cmd/skilldoc, internal/config, internal/output, internal/skilldoc, internal/timeutil, internal/update)
  • Confirmed v0.5.7 is a strict superset of the previously-pinned commit (git merge-base --is-ancestor both ways)

Release step after this merges

fduty's own version is stamped entirely from the release git tag (GoReleaser ldflags -X main.version={{.Version}}, no source constant to bump). Current latest tag is v1.3.27, so the release step is pushing tag v1.3.28 on the merge commit — not done here, that's a separate step.

@ysyneu
ysyneu merged commit 05e1330 into main Jul 21, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant